package com.frejoys.common.dto.common.login;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;


@Data
public class LoginDto {

    // @NotBlank(message = "{600}")
    @Schema(type = "String", name = "countryCode", description = "电话区号", required = false, defaultValue = "f1a7eaeb1e3188fa81f8d7e07909a392")
    private String countryCode;

//    @NotBlank(message = "{600}")
    @Schema(type = "String", name = "phone", description = "电话", required = true, defaultValue = "Lm9rg25BrkzYzx2Hl7TWVw==")
    private String phone;

    // @NotBlank(message = "{600}")
    // @Schema(type = "String", name = "password", description = "密码", required = true, defaultValue = "rsI6u9pGJBZQC3LvzmuokA==")
    // private String password;

    @NotBlank(message = "{600}")
    @Schema(type = "String", name = "code", description = "验证码", required = true, defaultValue = "CFdnh0HrTH9wH0/LTk3FMQ==")
    private String code;
}
